Integrand size = 27, antiderivative size = 152 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=-\frac {3 \sqrt {3} \text {arctanh}\left (\frac {\sqrt {3} \sqrt {d} \cos (e+f x)}{\sqrt {c+d} \sqrt {3+3 \sin (e+f x)}}\right )}{4 \sqrt {d} (c+d)^{5/2} f}-\frac {3 \cos (e+f x)}{2 (c+d) f \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))^2}-\frac {9 \cos (e+f x)}{4 (c+d)^2 f \sqrt {3+3 \sin (e+f x)} (c+d \sin (e+f x))} \]
[Out]
Time = 0.19 (sec) , antiderivative size = 154, normalized size of antiderivative = 1.01, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2851, 2852, 214} \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=-\frac {3 \sqrt {a} \text {arctanh}\left (\frac {\sqrt {a} \sqrt {d} \cos (e+f x)}{\sqrt {c+d} \sqrt {a \sin (e+f x)+a}}\right )}{4 \sqrt {d} f (c+d)^{5/2}}-\frac {3 a \cos (e+f x)}{4 f (c+d)^2 \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))}-\frac {a \cos (e+f x)}{2 f (c+d) \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))^2} \]
[In]
[Out]
Rule 214
Rule 2851
Rule 2852
Rubi steps \begin{align*} \text {integral}& = -\frac {a \cos (e+f x)}{2 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^2}+\frac {3 \int \frac {\sqrt {a+a \sin (e+f x)}}{(c+d \sin (e+f x))^2} \, dx}{4 (c+d)} \\ & = -\frac {a \cos (e+f x)}{2 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^2}-\frac {3 a \cos (e+f x)}{4 (c+d)^2 f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))}+\frac {3 \int \frac {\sqrt {a+a \sin (e+f x)}}{c+d \sin (e+f x)} \, dx}{8 (c+d)^2} \\ & = -\frac {a \cos (e+f x)}{2 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^2}-\frac {3 a \cos (e+f x)}{4 (c+d)^2 f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))}-\frac {(3 a) \text {Subst}\left (\int \frac {1}{a c+a d-d x^2} \, dx,x,\frac {a \cos (e+f x)}{\sqrt {a+a \sin (e+f x)}}\right )}{4 (c+d)^2 f} \\ & = -\frac {3 \sqrt {a} \text {arctanh}\left (\frac {\sqrt {a} \sqrt {d} \cos (e+f x)}{\sqrt {c+d} \sqrt {a+a \sin (e+f x)}}\right )}{4 \sqrt {d} (c+d)^{5/2} f}-\frac {a \cos (e+f x)}{2 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^2}-\frac {3 a \cos (e+f x)}{4 (c+d)^2 f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))} \\ \end{align*}
Result contains higher order function than in optimal. Order 9 vs. order 3 in optimal.
Time = 5.78 (sec) , antiderivative size = 923, normalized size of antiderivative = 6.07 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=\frac {\left (\frac {1}{16}+\frac {i}{16}\right ) \sqrt {3} \sqrt {1+\sin (e+f x)} \left (\frac {3 \left (\cos \left (\frac {e}{2}\right )+i \sin \left (\frac {e}{2}\right )\right ) \left ((-1+i) x \cos (e)+\frac {\text {RootSum}\left [-d+2 i c e^{i e} \text {$\#$1}^2+d e^{2 i e} \text {$\#$1}^4\&,\frac {(1+i) d \sqrt {e^{-i e}} f x-(2-2 i) d \sqrt {e^{-i e}} \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right )-i \sqrt {d} \sqrt {c+d} f x \text {$\#$1}+2 \sqrt {d} \sqrt {c+d} \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right ) \text {$\#$1}+\frac {(1-i) c f x \text {$\#$1}^2}{\sqrt {e^{-i e}}}+\frac {(2+2 i) c \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right ) \text {$\#$1}^2}{\sqrt {e^{-i e}}}-\sqrt {d} \sqrt {c+d} e^{i e} f x \text {$\#$1}^3-2 i \sqrt {d} \sqrt {c+d} e^{i e} \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right ) \text {$\#$1}^3}{d-i c e^{i e} \text {$\#$1}^2}\&\right ] (\cos (e)+i (-1+\sin (e))) \sqrt {\cos (e)-i \sin (e)}}{4 f}+(1+i) x \sin (e)\right )}{\sqrt {d} (c+d)^{5/2} (\cos (e)+i (-1+\sin (e))) \sqrt {\cos (e)-i \sin (e)}}+\frac {3 \left (\cos \left (\frac {e}{2}\right )+i \sin \left (\frac {e}{2}\right )\right ) \left ((1-i) x \cos (e)-(1+i) x \sin (e)+\frac {\text {RootSum}\left [-d+2 i c e^{i e} \text {$\#$1}^2+d e^{2 i e} \text {$\#$1}^4\&,\frac {(1-i) d \sqrt {e^{-i e}} f x+(2+2 i) d \sqrt {e^{-i e}} \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right )+\sqrt {d} \sqrt {c+d} f x \text {$\#$1}+2 i \sqrt {d} \sqrt {c+d} \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right ) \text {$\#$1}-\frac {(1+i) c f x \text {$\#$1}^2}{\sqrt {e^{-i e}}}+\frac {(2-2 i) c \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right ) \text {$\#$1}^2}{\sqrt {e^{-i e}}}-i \sqrt {d} \sqrt {c+d} e^{i e} f x \text {$\#$1}^3+2 \sqrt {d} \sqrt {c+d} e^{i e} \log \left (e^{\frac {i f x}{2}}-\text {$\#$1}\right ) \text {$\#$1}^3}{d-i c e^{i e} \text {$\#$1}^2}\&\right ] \sqrt {\cos (e)-i \sin (e)} (-1-i \cos (e)+\sin (e))}{4 f}\right )}{\sqrt {d} (c+d)^{5/2} (\cos (e)+i (-1+\sin (e))) \sqrt {\cos (e)-i \sin (e)}}-\frac {(4-4 i) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )}{(c+d) f (c+d \sin (e+f x))^2}-\frac {(6-6 i) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )}{(c+d)^2 f (c+d \sin (e+f x))}\right )}{\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )} \]
[In]
[Out]
Time = 1.28 (sec) , antiderivative size = 254, normalized size of antiderivative = 1.67
method | result | size |
default | \(-\frac {\left (\sin \left (f x +e \right )+1\right ) \sqrt {-a \left (\sin \left (f x +e \right )-1\right )}\, \left (3 \,\operatorname {arctanh}\left (\frac {\sqrt {-a \left (\sin \left (f x +e \right )-1\right )}\, d}{\sqrt {a \left (c +d \right ) d}}\right ) \left (\sin ^{2}\left (f x +e \right )\right ) a \,d^{2}+6 \,\operatorname {arctanh}\left (\frac {\sqrt {-a \left (\sin \left (f x +e \right )-1\right )}\, d}{\sqrt {a \left (c +d \right ) d}}\right ) \sin \left (f x +e \right ) a c d +3 \sqrt {-a \left (\sin \left (f x +e \right )-1\right )}\, \sqrt {a \left (c +d \right ) d}\, \sin \left (f x +e \right ) d +3 \,\operatorname {arctanh}\left (\frac {\sqrt {-a \left (\sin \left (f x +e \right )-1\right )}\, d}{\sqrt {a \left (c +d \right ) d}}\right ) a \,c^{2}+5 \sqrt {-a \left (\sin \left (f x +e \right )-1\right )}\, \sqrt {a \left (c +d \right ) d}\, c +2 \sqrt {-a \left (\sin \left (f x +e \right )-1\right )}\, \sqrt {a \left (c +d \right ) d}\, d \right )}{4 \left (c +d \right )^{2} \left (c +d \sin \left (f x +e \right )\right )^{2} \sqrt {a \left (c +d \right ) d}\, \cos \left (f x +e \right ) \sqrt {a +a \sin \left (f x +e \right )}\, f}\) | \(254\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 467 vs. \(2 (130) = 260\).
Time = 0.39 (sec) , antiderivative size = 1250, normalized size of antiderivative = 8.22 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=\int { \frac {\sqrt {a \sin \left (f x + e\right ) + a}}{{\left (d \sin \left (f x + e\right ) + c\right )}^{3}} \,d x } \]
[In]
[Out]
none
Time = 0.40 (sec) , antiderivative size = 213, normalized size of antiderivative = 1.40 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=-\frac {\sqrt {2} \sqrt {a} {\left (\frac {3 \, \sqrt {2} \arctan \left (\frac {\sqrt {2} d \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )}{\sqrt {-c d - d^{2}}}\right ) \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{{\left (c^{2} + 2 \, c d + d^{2}\right )} \sqrt {-c d - d^{2}}} + \frac {2 \, {\left (6 \, d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 5 \, c \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 5 \, d \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}}{{\left (2 \, d \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - c - d\right )}^{2} {\left (c^{2} + 2 \, c d + d^{2}\right )}}\right )}}{8 \, f} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{(c+d \sin (e+f x))^3} \, dx=\int \frac {\sqrt {a+a\,\sin \left (e+f\,x\right )}}{{\left (c+d\,\sin \left (e+f\,x\right )\right )}^3} \,d x \]
[In]
[Out]